<!DOCTYPE html>
<html>
<!-- Copyright 2014 The Swarming Authors. All rights reserved.
Use of this source code is governed by the Apache v2.0 license that can be
found in the LICENSE file. -->
<head>
  <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
  <title>{{title}}</title>

  <style>
    .top_right_links {
      display: inline-block;
      float: right;
    }
  </style>
  {% block header %}
    {# Page specific headers goes there. #}
  {% endblock %}
</head>
<body>
  <div class="top_right_links">
    {% if nickname is defined %}
      {% if nickname %}
        {{ nickname }}
      {% else %}
        <a href="{{signin_link|safe }}">Sign in</a>
      {% endif %}
      <br>
    {% endif %}
    {% if now is defined %}
      {{now|datetimeformat}}<br>
    {% endif %}
    {% block floating %}
    {% endblock %}
  </div>

  {% block body %}
  {% endblock %}
  <hr>
  <div style="float: left;"><p>
    <a target="_blank" href="https://code.google.com/appengine/"><img border="0"
    src="https://code.google.com/appengine/images/appengine-noborder-120x30.gif"
    alt="Powered by Google App Engine" /></a></p>
  </div>
</body>
</html>
